package com.nowcoder.community.entity.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LoginForm {
    @NotEmpty(message = "用户名不能为空")
    private String password;

    private String username;
    private String verifyCode;

    private boolean rememberMe;
}
